<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        //书写js代码
        // 在控制台输出变量
        // console.log(a);
        // var a=1;
        // var a='hello';
        // console.log(a);
        //判断数据类型
        var a=1;
        console.log(typeof a);
        var b='hello';
        console.log(typeof b);
        var c=undefined;
        console.log(typeof c);
        var d=true;
        console.log(typeof d);
        var e=null;
        console.log(typeof e);
    </script>
</head>
<body>
</body>
  <script>

  </script>
</html>